package com.it.jnxy.Mapper;

import com.it.jnxy.Pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface LoginMapper {
   @Select("select * from user where user_name=#{username} and password=#{password}")
    User getByUsernameAndPssword(User user);
}
